function deviceServiceF(){
	service.call(this);
	this.url="/api/device";
	
	var _this = this;

	this.getTreeSpotById=function (url,params,callback) {
		// return _HTTP.get(this.url+url,params,callback);
	}

	this.getAllDevice=function (url,params,callback){
		return _HTTP.get(this.url+url,params,callback);
	};

	this.getDevicesToVisual = function (url,params,callback){
		return _HTTP.get(this.url+url,params,callback);
	};
}
var deviceService = new deviceServiceF();
